package com.wl.springsecuritystudy.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/***
 * 配置spring security属性
 */
@Data
@ConfigurationProperties(prefix = "spring.security",ignoreUnknownFields=true)
public class SecurityProperties {

    /***
     * 配置不需要token验证的接口地址
     */
    private List<String> ignoring;

}
